package com.rightsidetech.system.dtos.request.store;

import com.rightsidetech.commom.base.PageRequest;
import io.swagger.annotations.ApiModelProperty;
import lombok.Data;

import javax.validation.constraints.Pattern;
import java.io.Serializable;

/**
 * @Package: com.rightsidetech.system.dtos.request.store
 * @ClassName: StoreSearchReq
 * @Author: yinj
 * @CreateTime: 2021/11/10 11:31
 */
@Data
public class StoreSearchReq extends PageRequest implements Serializable {

    @ApiModelProperty("搜索内容")
    @Pattern(regexp = "^[\\u4e00-\\u9fa5a-zA-Z0-9-_]{0,}$", message = "不能包含特殊符号")
    private String search;

}
